package org.dreamwork.jasmine2.restful.client.gui.model;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2014/12/11
 * Time: 10:51
 */
public class ParameterHolder {
    private String name, type;
    private Object value;
    private boolean require;

    public ParameterHolder () {}

    public ParameterHolder (String name, String type) {
        this.name = name;
        this.type = type;
    }

    public ParameterHolder (String name, String type, boolean require) {
        this.name = name;
        this.type = type;
        this.require = require;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public String getType () {
        return type;
    }

    public void setType (String type) {
        this.type = type;
    }

    public Object getValue () {
        return value;
    }

    public void setValue (Object value) {
        this.value = value;
    }

    public boolean isRequire () {
        return require;
    }

    public void setRequire (boolean require) {
        this.require = require;
    }
}
